

let mod = {
    '/user/list': ["get", async (ctx) => {
        console.log(ctx.path);
        ctx.body = "用户列表"
    }],
    '/user/add': ["post", async (ctx) => {
        ctx.body = "添加用户"
    }],

    '/user/edit': ["put", async (ctx) => {
        ctx.body = "修改用户"
    }],
    '/user/delete': ["delete", async (ctx) => {
        ctx.body = "删除用户"
    }],
    '/user/detiails': ["get", async (ctx) => {
        ctx.body = "用户详情"
    }],
}


module.exports = mod;